package tt.dz.appserver.service.business;

import org.springframework.web.bind.annotation.RequestParam;

import tt.dz.appserver.entity.model.ResultMappingEntity;
import tt.dz.appserver.entity.model.push.PushMessage;


/**
 * 桩友圈业务
 * @author xlf
 *
 */
public interface PushMessageService {

	/**
	 *推送消息列表信息
	 * 
	 * @param pageNo
	 * @return
	 */
	public ResultMappingEntity messageList(PushMessage message ,int pageNo);
	
	/**
	 * 桩友圈详细信息
	 * @param shareId
	 * @return
	 */
	public ResultMappingEntity messageDetail(String pushId);

	/**
	 * 
	 * @param message
	 * @return
	 */
	
	public ResultMappingEntity  saveMessage(String pushId,String title,String content,String editDate,String pushDate,
			int state,String delayDate,int messageType,int scope,String regStartDate,String regEndDate,
			int accountSex,String pushUserId,String pushOperator,String sysCode,int isPush,
			int onLineUser);
	/**
	 * 更新消息推送
	 * 
	 * @param userId
	 * @param content
	 * @param shareAddress
	 * @param areaCode
	 * @return
	 */
	public ResultMappingEntity  updateMessage(PushMessage message);
	
	/**
	 * 删除推送消息
	 * @return
	 */
	public ResultMappingEntity deleteMessage(String shareId);

}
